/**
 * 节点警告闪烁样式
 */

@keyframes warning-blink {
    0%,to {
        opacity: .95
    }

    50% {
        opacity: .45
    }
}

.djs-element.djs-shape.bpmn-warning-node-error .djs-visual rect.custom-service,.djs-element.djs-shape.bpmn-warning-node-error .djs-visual polygon.custom-service,.djs-element.djs-shape.bpmn-warning-node-error .djs-visual circle.custom-service,.djs-element.djs-shape.bpmn-warning-node-error .djs-visual path.custom-service {
    fill: hsl(360, 100%, 45%)!important
}

.djs-element.djs-shape.bpmn-warning-node-error .djs-visual>rect,.djs-element.djs-shape.bpmn-warning-node-error .djs-visual>polygon,.djs-element.djs-shape.bpmn-warning-node-error .djs-visual>circle,.djs-element.djs-shape.bpmn-warning-node-error .djs-visual>path {
    animation: warning-blink infinite 1s;
    stroke: hsl(360, 100%, 45%)!important;
    fill: hsl(360, 100%, 92%)!important
}

.djs-element.djs-shape.bpmn-warning-node-error.IntermediateThrowEvent .djs-visual>path,.djs-element.djs-shape.bpmn-warning-node-error.EndEvent .djs-visual>path {
    stroke: hsl(360, 100%, 92%)!important;
    fill: hsl(360, 100%, 45%)!important
}

.djs-element.djs-connection.bpmn-warning-node-error .djs-visual>path {
    stroke: hsl(360, 100%, 45%)!important;
    stroke-width: 3px!important;
    animation: warning-blink infinite 1s
}

.djs-element.bpmn-warning-node-error .djs-visual .custom-node-marker path {
    animation: unset
}